package com.guet.careapp.service;

import com.guet.careapp.controller.rest.common.errorCode.Error;
import com.guet.careapp.pojo.TUserInfo;
import com.guet.careapp.pojo.rest.Introduction;

import java.util.List;

/**
 * Created by LXM on 2017/10/30.
 *
 * @author LXM
 * @version 1.0
 * @description
 * @datetime 11:31
 */
public interface IPushService {


    Error PushMessageForAll(Introduction instruction);

    Error PushMessageForUsers(Introduction instruction, String... users);

    Error PushTimeToEatMedicines(Introduction introduction, String... users);

    Error PushTumble(List<String> devicesIDs, String oldsName);

    Error PushEmergency(List<String> devicesIDs, String oldsName);

    Error PushLocationRequest(Introduction introduction, String... deviceID);

    Error PushLocationResponse(Introduction introduction, String... devuceID);

    Error PushCustomMessage(String message, String... deviceId);

}
